package fiziksobject;
import physics.Forcer;
import physics.Vector;
import physics.physicsobject;


public class EarthGravity implements Forcer {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Vector[] getForces(physicsobject p) {
		Vector[] vec = {new Vector(p.getLoc(),Vector.Type.FORCE_GRAVITY,0,-1).multiply(9.834*p.getMass())};
		return vec;
	}

}
